import request from "@/utils/request-inspection";

// ---------------------------------------------------管点-------------------------------------------------
class HolidayAPI {
  // 新增
  static api_add(data: any) {
    return request({
      url: "/api/holiday-set/edit",
      method: "post",
      data,
    });
  }

  // 删除
  static api_del(id: any) {
    return request({
      url: "/api/holiday-set/" + id,
      method: "Delete",
    });
  }

  // 查询
  static api_query(data: any) {
    return request({
      url: "/api/holiday-set/page",
      method: "get",
      params: data,
    });
  }
}
export default HolidayAPI;
